package com.china.milkywayeye.rasberryPi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Program: java-ceshiuse
 * @ClassName: User
 * @Description: 树莓派用户表对应pojo
 * @Author: milkywayeye
 * @Create: 2024-03-05 09:52
 * @Version: v1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("user")
public class User implements Serializable {
    private static final long serialVersionUID = -5964155933458529032L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String account;
    private String password;
}
